package io.renren.modules.module.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@TableName("bm_r_module_bug")
@ApiModel(value = "模块缺点关联对象", description = "")
@Data
public class ModuleBug implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long mbId;

    @ApiModelProperty(value = "模块编号")
    private Long moduleId;

    @ApiModelProperty(value = "该缺陷负责的开发人")
    private Long bugPrincipal;

    @ApiModelProperty(value = "缺陷id")
    private Long bugId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "数据创建者")
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date lastEditTime;

    @ApiModelProperty(value = "数据修改者")
    @TableField(fill = FieldFill.INSERT_UPDATE)

    private Long lastEditUser;

    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private int delStatus;
}
